<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019/3/24 0024
 * Time: 14:38
 */
$fp = popen('ls l /', 'r');
while (!feof($fp)) {
    echo fgets($fp);
}
pclose($fp);